import request from "@/request/";

export const getList = (data) => {
  return request({
    url: "/api/mes-production-service/product-trace-report/new-energy/page",
    method: "POST",
    data,
  });
};

export const getDetail = (packageLabelFlowCardId) => {
  return request({
    url: "/api/mes-production-service/product-trace-report/new-energy/detail",
    method: "POST",
    data: {
      packageLabelFlowCardId,
    },
  });
};
